import request from '@/utils/request'
export function clockIn(){
    return request({
        url:"/admin/attendance/clockIn",
        method:"post"
    })
}

export function clockOut(){
    return request({
        url:"/admin/attendance/clockOut",
        method:"put"
    })
}

export function getList(){
    return request({
        url:"/admin/attendance/list",
        method:"get"
    })
}

export function getUser(empNo){
    return request({
      url: '/admin/employee/'+empNo,
      method: 'get'
    })
}